package com.jiajia;

/**
 *
 * 动态链接
 * @author : zjj
 * @date : 2022/4/13 12:49
 */
public class Demo05DynamicLinking {

    int num = 10;

    public void methodA(){
        System.out.println("methodA()....");
    }

    public void methodB(){
        System.out.println("methodB()....");

        methodA();

        num++;
    }
}
